/*
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: DeliveryOrder.java
 *   @Date: 19-6-23 下午5:52
 *   @Author: ppzhao
 *   @Description:
 *   @Copyright（C）: 2019 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 */

package io.bhex.sdk.trade.futures.bean;

/**
 * 成交订单
 */
public class DeliveryOrder {

    private String time;    //下单时间
    private String exchangeId;
    private String orderId; //订单id
    private String accountId;   //账户id
    private String tradeId;   //客户端订单Id
    private String symbolId;    //期货id
    private String symbolName;  //期货名称
    private String baseTokenId;
    private String baseTokenName;
    private String quoteTokenId;
    private String quoteTokenName;
    private String price;       //成交价

    private String quantity;     //成交数量
    private String executedAmount;  //成交额

    private String type;        //订单类型
    private String side;        //订单方向
    private String fee; //手续费
    private String feeTokenId;        //手续费token
    private String feeTokenName;        //手续费tokenName
    /**
     * priceType : INPUT
     * pnl : 0
     */

    private String priceType;
    private String pnl;
    private String liquidationType; //NO_LIQ 普通订单   IOC 合约爆仓强平单       ADL 合约减仓单

    //    private String noExecutedQty;   //未成交量
//    private String leverage;
//    private String status;      //订单状态 (NEW 订单已创建 PARTIALLY_FILLED 部分成交FILLED 完全成交 CANCELED 已取消 REJECTED 已拒绝)
//    private String statusDesc; //订单状态描述


    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getExchangeId() {
        return exchangeId;
    }

    public void setExchangeId(String exchangeId) {
        this.exchangeId = exchangeId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getTradeId() {
        return tradeId;
    }

    public void setTradeId(String tradeId) {
        this.tradeId = tradeId;
    }

    public String getSymbolId() {
        return symbolId;
    }

    public void setSymbolId(String symbolId) {
        this.symbolId = symbolId;
    }

    public String getSymbolName() {
        return symbolName;
    }

    public void setSymbolName(String symbolName) {
        this.symbolName = symbolName;
    }

    public String getBaseTokenId() {
        return baseTokenId;
    }

    public void setBaseTokenId(String baseTokenId) {
        this.baseTokenId = baseTokenId;
    }

    public String getBaseTokenName() {
        return baseTokenName;
    }

    public void setBaseTokenName(String baseTokenName) {
        this.baseTokenName = baseTokenName;
    }

    public String getQuoteTokenId() {
        return quoteTokenId;
    }

    public void setQuoteTokenId(String quoteTokenId) {
        this.quoteTokenId = quoteTokenId;
    }

    public String getQuoteTokenName() {
        return quoteTokenName;
    }

    public void setQuoteTokenName(String quoteTokenName) {
        this.quoteTokenName = quoteTokenName;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getExecutedAmount() {
        return executedAmount;
    }

    public void setExecutedAmount(String executedAmount) {
        this.executedAmount = executedAmount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee;
    }

    public String getFeeTokenId() {
        return feeTokenId;
    }

    public void setFeeTokenId(String feeTokenId) {
        this.feeTokenId = feeTokenId;
    }

    public String getFeeTokenName() {
        return feeTokenName;
    }

    public void setFeeTokenName(String feeTokenName) {
        this.feeTokenName = feeTokenName;
    }

    public String getPriceType() {
        return priceType;
    }

    public void setPriceType(String priceType) {
        this.priceType = priceType;
    }

    public String getPnl() {
        return pnl;
    }

    public void setPnl(String pnl) {
        this.pnl = pnl;
    }

    public String getLiquidationType() {
        return liquidationType;
    }

    public void setLiquidationType(String liquidationType) {
        this.liquidationType = liquidationType;
    }
}
